home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / DIALOGUT / DIALOGUT.H < prev   
Text File  |  1990-06-25  |  730b  |  25 lines

  1. /*
  2.  * DialogUtils.h
  3.  */
  4.  
  5. #ifndef H_DialogUtils
  6. #define H_DialogUtils
  7.  
  8. #include <MacTypes.h>
  9.  
  10. /* Return topLeft point to center standard file dialogs. */
  11. extern Point DU_StdPutWhere(void);
  12. extern Point DU_StdGetWhere(void);
  13.  
  14. /*
  15.  * Pre-load and center ALRT/DLOG template resources. Changes do not affect
  16.  *  the resource file, but if the ALRT/DLOG is created soon after the call
  17.  *  it will use the modified (centered) template in memory. Both routines
  18.  *  return the passed rsrc id to allow calls like:
  19.  *      Alert(DU_CenterALRT(alertID),filter);
  20.  *      GetNewDialog(DU_CenterDLOG(dlogID),dStorage,behindWindow);
  21.  */
  22. extern short DU_CenterALRT(short rsrcId);
  23. extern short DU_CenterDLOG(short rsrcId);
  24.  
  25. #endif    /* H_DialogUtils */